package com.turing.post.salesmanage.util;

import java.io.Serializable;

import com.turing.post.cardmanagement.util.CardFace;
import com.turing.post.organization.util.IssueFeePolicy;
import com.turing.post.organization.util.VoucherStock;
import com.turing.post.util.PCPSWebReturn;

/**
 * @author zxp
 * @Dec 30, 2012
 */
@SuppressWarnings("serial")
public class SaleOrderResult extends PCPSWebReturn implements Serializable {

	SaleOrder saleOrder = null;

	CardFace cardFace = null;

	VoucherStock voucherStock = null;

	IssueFeePolicy issueFeePolicy = null;

	DepositOrder depositOrder = null;

	RedempOrder redempOrder = null;

	public SaleOrderResult() {
		super(true);
	}

	/**
	 * 用户登录成功返回
	 * 
	 * @param _saleOrder
	 */
	public SaleOrderResult(SaleOrder _saleOrder) {
		super(true);
		saleOrder = _saleOrder;
	}

	/**
	 * 销售单新增返回
	 * 
	 * @param list
	 */
	public SaleOrderResult(boolean isSuccess, String excepCode,
			String excepMessage) {
		super(isSuccess, excepCode, excepMessage);
	}

	/**
	 * 得到销售单
	 * 
	 * @return SaleOrder 销售单
	 */
	public SaleOrder getSaleOrder() {
		return saleOrder;
	}

	/**
	 * 设置销售单
	 * 
	 * @param saleOrder
	 */
	public void setSaleOrder(SaleOrder saleOrder) {
		this.saleOrder = saleOrder;
	}

	public CardFace getCardFace() {
		return cardFace;
	}

	public void setCardFace(CardFace cardFace) {
		this.cardFace = cardFace;
	}

	public VoucherStock getVoucherStock() {
		return voucherStock;
	}

	public void setVoucherStock(VoucherStock voucherStock) {
		this.voucherStock = voucherStock;
	}

	public IssueFeePolicy getIssueFeePolicy() {
		return issueFeePolicy;
	}

	public void setIssueFeePolicy(IssueFeePolicy issueFeePolicy) {
		this.issueFeePolicy = issueFeePolicy;
	}

	public DepositOrder getDepositOrder() {
		return depositOrder;
	}

	public void setDepositOrder(DepositOrder depositOrder) {
		this.depositOrder = depositOrder;
	}

	public RedempOrder getRedempOrder() {
		return redempOrder;
	}

	public void setRedempOrder(RedempOrder redempOrder) {
		this.redempOrder = redempOrder;
	}
}